<?php

use think\migration\Seeder;

class BankSeeder extends Seeder
{
    /**
     * Run Method.
     *
     * Write your database seeder using this method.
     *
     * More information on writing seeders is available here:
     * http://docs.phinx.org/en/latest/seeding.html
     */
    public function run()
    {
        $data = [
            ['name'=>'中国银行'],
            ['name'=>'工商银行'],
            ['name'=>'建设银行'],
            ['name'=>'农业银行'],
            ['name'=>'交通银行'],
            ['name'=>'华夏银行'],
            ['name'=>'平安银行'],
        ];
        $table = $this->table('bank');
        //$table->insert($data)->save();
    }
}